package com.ethan.springcloud.helloserviceclient;

import com.netflix.loadbalancer.IRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author daifei
 * @date 2019/7/4
 */
@Configuration
public class RibbonConfiguation {

    @Bean
    public IRule getRule(){
        return new MyRule();
    }
}
